package com.yz.mybatis.gen;

import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;

/**
 * @author <a href="mailto:yuanz@yxt.com">yuanz</a>
 * @date 2022-02-08 10:27
 * @since 1.0.0
 **/
public class Test {
    
    public static void main(String[] args) throws MojoExecutionException, MojoFailureException {
        MyMojo myMojo = new MyMojo();
        myMojo.setConfigurationFile("\\mybatis-gen.json");
        myMojo.setBasedir("D:\\yunxuetang\\mybatis-gen-maven-plugin");
        myMojo.execute();
    }
}
